Replace Text in Code

   

To replace text in a module

  1. On the Edit menu, click Replace.

    The Replace dialog box appears.

  2. In the Find What box, type the text you want to search for.

  3. In the Replace With box, type the replacement text.

  4. Select a Search option to specify where to look for the text.

  5. Select a direction from the Direction list to specify the direction of the search.

  6. To set limits on the search, select:
  7. Choose Find Next if you want to confirm the change before replacing the text; choose Replace to replace the highlighted occurrence of the found text and automatically perform a Find Next; or choose Replace All to change all occurrences of the search text automatically.